package com.tarzan.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarzan.system.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 角色和菜单关联表 Mapper 接口
 * </p>
 *
 * @author liujinshan
 * @since 2020-07-09
 */
@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    /**
     * 根据角色id获取对应的菜单权限
     *
     * @param roleId
     * @return java.util.List<com.jinshan.happy.vo.response.SysRolePermissionsResp>
     * @Date 2020/10/10 15:04
     * @Author liujinshan
     **/
    List<Integer> getMenuInfoByRoleId(Long roleId);
}
